'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function Constant(Of TValue)( _ ByVal dataVariable As UADataVariable, _ ByVal attributeData As UAAttributeData(Of TValue) _ ) As UADataVariable
'Usage
Dim dataVariable As UADataVariable Dim attributeData As UAAttributeData(Of TValue) Dim value As UADataVariable value = UADataVariableExtension.Constant(Of TValue)(dataVariable, attributeData)
[Extension()] [NotNull()] public static UADataVariable Constant<TValue>( UADataVariable dataVariable, UAAttributeData<TValue> attributeData )
[Extension()] [NotNull()] public: static UADataVariable^ Constantgeneric<typename TValue> ( UADataVariable^ dataVariable, UAAttributeData<TValue^>^ attributeData )
Parameters
- dataVariable
- The data variable that will be modified and returned.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - attributeData
- The constant attribute data that will be provided by the data variable.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Type Parameters
- TValue
- The type of the value of the data variable.
Return Value
This method never returns null
(Nothing
in Visual Basic).